import request from '@/utils/request'

export const login = (data) => request.post('/sys/login', data)

export const getUserInfo = () => request.post('/sys/profile')

export function logout() {

}
export const getUserAvatar = (id) => request.get(`/sys/user/${id}`)
